-
Notifications
You must be signed in to change notification settings - Fork 0
Public Queries #119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Public Queries #119
Conversation
This reverts commit ad0e24f.
…g and punctuation
…v regardless of auth
…route when not authenticated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could lock these routes down still if we would like. Happy to adjust!
… projects to view
@@ -11,7 +11,7 @@ import { app } from "lib/config"; | |||
import { useOrganizationMembership } from "lib/hooks"; | |||
|
|||
import type { ButtonProps } from "@omnidev/sigil"; | |||
import type { Organization } from "generated/graphql"; | |||
import { type Organization, useOrganizationQuery } from "generated/graphql"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { type Organization, useOrganizationQuery } from "generated/graphql"; | |
import type { Organization } from "generated/graphql"; |
@@ -11,7 +11,7 @@ import { app } from "lib/config"; | |||
import { useOrganizationMembership } from "lib/hooks"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { useOrganizationMembership } from "lib/hooks"; | |
import { useOrganizationQuery } from "generated/graphql"; | |
import { useOrganizationMembership } from "lib/hooks"; |
Description
Task link: https://linear.app/omnidev/issue/OMNI-340/unauth-users-should-be-able-to-see-projects
This PR refactors limitations on rendering for all pages that should be available to be viewed by unauthorized users. The biggest change this PR implements is removing the need for a valid
accessToken
to perform queries.Important
Must be tested in combination with omnidotdev/backfeed-api#47
In Addition, other refactors available in this PR can be found here: #140
Test Steps